﻿using System;
using System.Collections.Generic;
using System.Text;

namespace System.ComponentModel.DataAnnotations;

public class UIDetailsFieldAttribute: Attribute
{
    public int Order { get; set; }
    public string Label { get; set; }
    public string Placeholder { get; set; }
    public UIColumnFixedType? Fixed { get; set; }
    public string LocalizationKey { get; set; }
    public string Icon { get; set; }
    public string Format { get; set; }
    public Xms.Abp.Data.DataType DataType { get; set; }
}

public class UIFieldValidateAttribute : Attribute
{
    public string ValidateRegex { get; set; }
    public bool IsRequired { get; set; }
    public int? MaxLength { get; set; }
    public int? MinLength { get; set; }
    public object RangeStart { get; set; }
    public object RangeEnd { get; set; }
}
